package homework.Exercise4;

public class TestCyclicCounter {
    public static void main(String[] args) {
        CyclicCounter cyclicCounter = new CyclicCounter(0,4);
        System.out.print(cyclicCounter.getValue()+" ");
        for (int i = 0; i < 10; i++) {
            cyclicCounter.incrementer();
//            System.out.println(cyclicCounter.getValue());
        }
        System.out.print(cyclicCounter.getValue()+" ");
        for (int i = 0; i < 11; i++) {
            cyclicCounter.decrementer();
//            System.out.println(cyclicCounter.getValue());
        }
        System.out.print(cyclicCounter.getValue()+" ");
    }
}
